package com.chuanye.mydrawable.beans;

import java.util.List;

/**
 * Created by lsef on 2019/1/15.
 */

public class City {

    private List<CityBean> City;

    public List<CityBean> getCity() {
        return City;
    }

    public void setCity(List<CityBean> City) {
        this.City = City;
    }

    public static class CityBean {
        /**
         * cityname : 北京市
         * county : [{"name":"市局","number":"京-SJ"},{"name":"朝阳区","number":"京-CY"},{"name":"海淀区","number":"京-HD"},{"name":"丰台区","number":"京-FT"},{"name":"石景山区","number":"京-SJS"},{"name":"大兴区","number":"京-DX"},{"name":"通州区","number":"京-TZ"},{"name":"顺义区","number":"京-SY"},{"name":"房山区","number":"京-FS"},{"name":"门头沟区","number":"京-MTG"},{"name":"延庆区","number":"京-YQ"},{"name":"昌平区","number":"京-CP"},{"name":"怀柔区","number":"京-HR"},{"name":"密云区","number":"京-MY"},{"name":"平谷区","number":"京-PG"},{"name":"松山","number":"京-SS"},{"name":"八达岭","number":"京-BDL"},{"name":"十三陵","number":"京-SSL"},{"name":"西山","number":"京-XS"},{"name":"共青","number":"京-GQ"},{"name":"京西","number":"京-JX"}]
         */

        private String cityname;
        private List<CountyBean> county;

        public String getCityname() {
            return cityname;
        }

        public void setCityname(String cityname) {
            this.cityname = cityname;
        }

        public List<CountyBean> getCounty() {
            return county;
        }

        public void setCounty(List<CountyBean> county) {
            this.county = county;
        }

        public static class CountyBean {
            /**
             * name : 市局
             * number : 京-SJ
             */

            private String name;
            private String number;

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getNumber() {
                return number;
            }

            public void setNumber(String number) {
                this.number = number;
            }
        }
    }
}
